<template>
  <div class="q-pa-md">
    <div class="q-gutter-y-md column" style="max-width: 300px">
      <t-input filled v-model="email" type="email" suffix="@gmail.com">
        <template v-slot:before>
          <t-icon name="mail" />
        </template>
      </t-input>

      <t-input outlined v-model="number" type="number" prefix="$">
        <template v-slot:append>
          <t-avatar>
            <img src="https://cdn.quasar.dev/logo-v2/svg/logo.svg" />
          </t-avatar>
        </template>
      </t-input>

      <t-input
        standout
        v-model="email"
        type="email"
        prefix="Email:"
        suffix="@gmail.com"
      >
        <template v-slot:prepend>
          <t-icon name="mail" />
        </template>
      </t-input>
    </div>
  </div>
</template>

<script>
  import { ref } from 'vue';

  export default {
    setup() {
      return {
        email: ref(''),
        number: ref(null),
        text: ref(''),
      };
    },
  };
</script>
